/*
*Copyright 2021-2023 NERCIS
*
*Licensed under the Apache License, Version 2.0 (the "License");
*you may not use this file except in compliance with the License.
*You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*Unless required by applicable law or agreed to in writing, software
*distributed under the License is distributed on an "AS IS" BASIS,
*WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*See the License for the specific language governing permissions and
*limitations under the License.
*/

package cn.ac.nercis.pes.community.model.vo.evaluation;

import cn.ac.nercis.pes.common.constant.knowledge.TargetType;
import javafx.beans.property.SimpleObjectProperty;
import javafx.beans.property.SimpleStringProperty;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 资产对象测试方式信息修改视图模型
 * @author zpy
 * @version 1.0.0
 */
@Data
@Builder
@NoArgsConstructor
public class AssetEvaluationMethodVO {
    private final SimpleStringProperty id = new SimpleStringProperty();
    private final SimpleStringProperty systemId = new SimpleStringProperty();
    private final SimpleStringProperty assetId = new SimpleStringProperty();
    private final SimpleStringProperty layerTarget = new SimpleStringProperty();
    private final SimpleStringProperty layerTargetId = new SimpleStringProperty();
    private final SimpleStringProperty unitTarget = new SimpleStringProperty();
    private final SimpleStringProperty unitTargetId = new SimpleStringProperty();
    private final SimpleObjectProperty<TargetType> targetType = new SimpleObjectProperty<>();
    private final SimpleStringProperty evaTarget = new SimpleStringProperty();
    private final SimpleStringProperty method = new SimpleStringProperty();
    private final SimpleStringProperty desc = new SimpleStringProperty();

    public String getId() {
        return id.get();
    }

    public SimpleStringProperty idProperty() {
        return id;
    }

    public void setId(String id) {
        this.id.set(id);
    }

    public String getSystemId() {
        return systemId.get();
    }

    public SimpleStringProperty systemIdProperty() {
        return systemId;
    }

    public void setSystemId(String systemId) {
        this.systemId.set(systemId);
    }

    public String getAssetId() {
        return assetId.get();
    }

    public SimpleStringProperty assetIdProperty() {
        return assetId;
    }

    public void setAssetId(String assetId) {
        this.assetId.set(assetId);
    }

    public String getLayerTarget() {
        return layerTarget.get();
    }

    public SimpleStringProperty layerTargetProperty() {
        return layerTarget;
    }

    public void setLayerTarget(String layerTarget) {
        this.layerTarget.set(layerTarget);
    }

    public String getLayerTargetId() {
        return layerTargetId.get();
    }

    public SimpleStringProperty layerTargetIdProperty() {
        return layerTargetId;
    }

    public void setLayerTargetId(String layerTargetId) {
        this.layerTargetId.set(layerTargetId);
    }

    public String getUnitTarget() {
        return unitTarget.get();
    }

    public SimpleStringProperty unitTargetProperty() {
        return unitTarget;
    }

    public void setUnitTarget(String unitTarget) {
        this.unitTarget.set(unitTarget);
    }

    public String getUnitTargetId() {
        return unitTargetId.get();
    }

    public SimpleStringProperty unitTargetIdProperty() {
        return unitTargetId;
    }

    public void setUnitTargetId(String unitTargetId) {
        this.unitTargetId.set(unitTargetId);
    }

    public TargetType getTargetType() {
        return targetType.get();
    }

    public SimpleObjectProperty<TargetType> targetTypeProperty() {
        return targetType;
    }

    public void setTargetType(TargetType targetType) {
        this.targetType.set(targetType);
    }

    public String getEvaTarget() {
        return evaTarget.get();
    }

    public SimpleStringProperty evaTargetProperty() {
        return evaTarget;
    }

    public void setEvaTarget(String evaTarget) {
        this.evaTarget.set(evaTarget);
    }

    public String getMethod() {
        return method.get();
    }

    public SimpleStringProperty methodProperty() {
        return method;
    }

    public void setMethod(String method) {
        this.method.set(method);
    }

    public String getDesc() {
        return desc.get();
    }

    public SimpleStringProperty descProperty() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc.set(desc);
    }
}